package _spring_test._tests;

import _spring_test.Car;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class CycleFactoryMethodTest {

    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("application-cycle-factory-method.xml");
        Car car = (Car) ac.getBean("car");
        System.out.println(car);

    }

}
